package com.chiwen.ks.domain;

import com.chiwen.common.annotation.Excel;
import com.chiwen.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 快手用户管理对象 ks_user
 * 
 * @author dipper
 * @date 2022-12-08
 */
public class KsUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer userId;

    /** 用户编码 */
    @Excel(name = "用户编码")
    private String userCode;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String password;

    /** 用户token */
    @Excel(name = "用户token")
    private String userToken;

    /** 用户余额 */
    @Excel(name = "用户余额")
    private String userMoney;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 数据隔离 */
    @Excel(name = "数据隔离")
    private Long deptId;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String logicDelect;

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setUserCode(String userCode) 
    {
        this.userCode = userCode;
    }

    public String getUserCode() 
    {
        return userCode;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setUserToken(String userToken) 
    {
        this.userToken = userToken;
    }

    public String getUserToken() 
    {
        return userToken;
    }
    public void setUserMoney(String userMoney) 
    {
        this.userMoney = userMoney;
    }

    public String getUserMoney() 
    {
        return userMoney;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setLogicDelect(String logicDelect) 
    {
        this.logicDelect = logicDelect;
    }

    public String getLogicDelect() 
    {
        return logicDelect;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userCode", getUserCode())
            .append("userName", getUserName())
            .append("password", getPassword())
            .append("userToken", getUserToken())
            .append("userMoney", getUserMoney())
            .append("nickName", getNickName())
            .append("avatar", getAvatar())
            .append("deptId", getDeptId())
            .append("logicDelect", getLogicDelect())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
